import { request } from '@umijs/max';

export async function getHomeInfo() {
  return request('/merchant/safe-pay-book-account/get-account-count', {
    method: 'post',
  });
}

// 查询记账本余额
export async function getTallyBookAmount() {
  return request(
    '/merchant/safe-pay-book-account/query-all-signed-book-balance',
    {
      method: 'post',
    },
  );
}
